﻿@model IEnumerable<Solution.Business.Entities.FreeNew>

@{
    ViewBag.Title = "Details";
}

<div class="free-details">
    @foreach(var item in Model)
    {
    <div class="free-details-title">
        <h3>@item.Title</h3>
    </div>
    
    <div class="free-details-content">
        @Html.Raw(item.Details)
    </div>  
    
    <div class="free-details-relate">
        <div class="free-details-relate-head">Các tin cùng người đăng</div>
        <ul class="free-details-relate-ulcontent">
            @{Html.RenderAction("DetailsRelate", "FreeNews");}
        </ul>
    </div>
        
    <div class="free-details-relate">
        <div class="free-details-relate-head">Các tin mới nhất</div>
        <ul class="free-details-relate-ulcontent">
            @{Html.RenderAction("DetailsNew", "FreeNews");}
        </ul>
    </div>    
                    
    }
</div>